import axios from 'axios'
// 合同列表
export const reqContractList = (data)=>
axios({
  url:'/api/crm/contract-v/condition',
  method:'get',
  params:data
});
// 添加合同
export const reqAddContract = (data)=>
axios({
  url:'/api/crm/contract/insert',
  method:'post',
  data:data
});
// 删除合同
export const reqDelContract = (data)=>
axios({
  url:'/api/crm/contract/delete',
  method:'delete',
  data:data
});
// 修改合同
export const reqUpdataContract = (data)=>
axios({
  url:'/api/crm/contract/update',
  method:'put',
  data:data
});
// 合同进度列表
export const reqContractSchedule = (data)=>
axios({
  url:'/api/crm/schedule-v/condition',
  method:'get',
  params:data
});
// 添加合同进度
export const reqAddSchedule = (data)=>
axios({
  url:'/api/crm/schedule/insert',
  method:'post',
  data:data
});
// 删除合同进度
export const reqDelSchedule = (data)=>
axios({
  url:'/api/crm/schedule/delete',
  method:'delete',
  data:data
});
// 修改合同进度
export const reqUpdataSchedule = (data)=>
axios({
  url:'/api/crm/schedule/update',
  method:'put',
  data:data
});
// 首页合同进度提醒查询
export const reqSchedule = (data)=>
axios({
  url:'/api/crm/schedule-v/reminding',
  method:'get',
  params:data
});